package cn.tedu.oop2;

public class Pigeon extends Bird implements FlyAniaml{

    @Override
    public void LayEggs() {
        System.out.println("鸽子的下蛋数为"+eggNumber);
    }

    @Override
    public void fly() {
        System.out.println("鸽子要飞了");
    }
}
